package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * @program: day0423-pxx
 * @ClassName Brand
 * @description:
 * @author: 段阳
 * @create: 2024-04-23 19:54
 **/
@Data
@TableName("tb_brand")
public class Brand {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String image;
    private Character letter;
    @TableField(exist = false)
    private List<CategoryBrand> categories;

}